package com.zls.blockHandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.zls.pojo.User;

public class GlobalBlockHandler {
    /**
     * 必须使用static修饰
     */
    public static User blockHandlerMethod(Integer id, String nam, BlockException e){
        return new User(id,"this is blockHandlerMethod of " + nam ,0);
    }
}
